
<?php
//echo loadBootstrap();
?>
<h3>Thêm mới danh mục sản phẩm.</h3>
<br>
<?php
$attribute = array(
    'class' => 'form-horizontal',
    'id' => 'addcatalog',
    'name' => 'addcatalog'
);
echo form_open('manage_catalogs/manage_create/verify', $attribute);
?>
<form class="form-horizontal" role="form">
    <div class="form-group" id="ten">
        <label for="name" class="col-md-3 control-label">Tên <span style="color: red;"> *</span></label>
        <div class="col-md-7">
            <input id="name" name="name" class="form-control" type="text" placeholder="Nhập tên danh mục ..." />
        </div>
    </div>
    <div class="form-group">
        <label for="parent" class="col-md-3 control-label" >Danh mục cha</label>
        <div class="col-md-7">
            <?php
//            $listcatalog = array(
//                '1' => 'Móc khóa 1',
//                '2' => 'Móc khóa 2',
//                '3' => 'Móc khóa 3',
//            );
//            echo form_dropdown('parent', $listcatalog, '1');
            ?>
            <select class="form-control">
                <option>Móc Khóa 1</option>
                <option>Móc Khóa 2</option>
                <option>Móc Khóa 3</option>
                <option>Móc Khóa 4</option>
                <option>Móc Khóa 5</option>
                <option>Móc Khóa 6</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="content" class="col-md-3 control-label">Nội dung</label>
        <div class="col-md-7">
            <textarea id="content" name="content" rows="4" class="form-control" placeholder="Nhập mô tả danh mục ..." ></textarea>
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-3">
            <label class="radio-inline">
                <input type="radio" name="status" id="status" class="radio" checked="true">Ẩn
            </label>
            <label class="radio-inline">
                <input type="radio" name="status" id="status" class="radio" >Hiện
            </label>
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-3">
            <input type="submit" class="btn btn-primary" name="submit" id="submit" value="Thêm" />                
            <input type="button" class="btn btn-primary" name="cancel" id="cancel" value="Hủy" onclick="return myconfirm();" />
        </div>
    </div>
</form>

